package com.delu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("site")
public class Site implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long siteId;

    private String siteName;

    private String phone;

    private String addr;

    private String reciver;

    private Date businessHour;

    private String siteImg;

    private Integer areaId;
}
